Added password reset functions