forgot password bug fixed, and user object saved each time userprofile is saved