Return correct status when login required