Added database interaction. Adding tokens without care.