Error Handling for the Authentication Forms