improves error messages for password reset