change sign in / sign out flow