Added reset password functionality.