implemented user and resource
added contact implementation
implemented api section of contacts
reformatted some of the code
tested and fixed bugs for resource
tested and fixed bugs for contact