fixed fat-fingered mistake from last commit by adding the UPDATE for the token statement back in.
ensured uniqueness of generated token by prepending the randomly generated string with the current microtime.