Completes signing in and out