added reset password form and functions