Add method for authenticating the request
Set response codes for auth failures.
Merge pull request #2 from bryceg/dev

Merging