db_getToken will return nil when a record is not found