Added back error messages for login