Updated to allow password reset