Finish sign in-out implementation