log.debug("Authenticate called - user: " + user + " pwd: " + pwd);
User overEncryptUser = null;
try {
overEncryptUser = new User();
log.debug("UserRoot authenticate is called with: ("+user+","+pwd+")");
if(overEncryptUser.login(user, pwd)) {
String userRootPath = ServerConfiguration.getWebDAVrootPath() + "/" + overEncryptUser.getId();
resourceManager.setRoot(userRootPath);
log.debug("userRootPath: " + userRootPath.toString());
//Check if user has already done DHKeyAgreement