hide error message when not logged in