Change in files "UserService.java" and "EmailServiceImpl.java" for reset password.
AJAX query for registration user was added.