fix auth error message not displayed
Database schema