adding token to db