Added error message functionality for reset password.