changes buttons on home page based on whether or not a user is logged in