make changes to index page if not logged in