removes login and register if user is signed in