complete user sign in and sign out