finish sign in and out