hide login and register if logged in