starting on reset password logic