prevented footer from showing when user isn't logged in