adds sidebar and user logged status on the theme template
fixes conflict on the sidebar.php