Finish fixing logged_in? bug