added the functionality to forgot password and change password