Added header and footer if not logged in