added authentication and authorization
added resource tests
Merge pull request #1 from vforgione/auth

Auth