Moved all side bar and page layout to loggedIn template