Added table relationships and changed secret token