login prompt if not logged in; logout otherwise