Reset Password function and view updated