Fixed hte database relations, missing foreign keys and added in the proper relations for missing ones from last week. Added in a security module that adds in a layer of user roles that will allow for simple segrgating of user groups to their respective resources.