public Resolution createUser(){
Role roleToBeAssigned = this.userManagerService.getRole(role);
String userName = userManagerService.createUserName(this.firstName, this.lastName);
String password = userManagerService.createPassWord(userName);
String message=EsimsConstants._BLANK_STRING ;
user = new User(roleToBeAssigned,userName,password,this.firstName,this.middleName,this.lastName,this.gender);
this.userManagerService.saveUser(user);
//Displaying the password too
message= EsimsUtils.createInfoMessage(this.getContext().getContextPath(), "User named <strong>" + userName + "</strong> was created succesfully");
message += "<br> The password is <strong>"+password+"</strong>";
FlashScope.getCurrent(this.getContext().getRequest(),true).put("message", message);