Conditionally add .logged_in class to body