login and registration dialog error messages