Finish user login/logout