fixed user_logged_in and spacing for main template