changed user_token to token to flatten the data