function for forgot password and reset password is added