partial reset password functionality