Trying to move user_logged_in? function to helper.