fix login error message to only show when query string includes "?error=True"