Continuation stage 2 Loggin in and Logging out