join login and register command