Auth, logged_in fix