implement sequences

replace user_random_token by random_token