Fix a undefiend valiable on startpage when not logged in.