Add check for if a user is logged in on the home page.