added user_state