Correctly identify non logged in users, and remove app.run