Error messages on login and register are not breaking the view anymore