update user_pages_spec
finish sign in and sign out