refactored resources to seperate modules
This is to prevent circular dependencies. Authorization needed
the User resource, but not all the related functions. And the
`user` needed to reuse some of the authorization.
Merge branch 'refactorResources'

* refactorResources:
  refactored resources to seperate modules This is to prevent circular dependencies. Authorization needed the User resource, but not all the related functions. And the `user` needed to reuse some of the authorization.