added conditional to keep the site hidden for non logged in users