Added check to see if you're logged in on every activity