db: add function for generating new token
db: add function for generating new token

Generate new token as a 32-character string of random
numbers and characters and put it in the table.

Signed-off-by: Ilija Hadzic <47a09d4a4430975766160361f65fc72633be50b6@gmail.com>

ihadzic/jim,ihadzic/jim,ihadzic/jim