update forget password and fix some bugs