Changed user_logged_in? to helper method.