implemented UserResource and CompanyResource

Added methods to do operations on UserResource and CompanyResource. Instead of specifying http://localhost:8080/trakstok/rest/user/list to get all the users., we can specify like http://localhost:8080/trakstok/rest/user.