adding first version of random_string/token lookup, is working, need to add error handling
adding error checking  for token lookup and redirect