hide or show login and register depending on if logged in