Make #logged_in? global