Finish sign in/sign out implementation