Merge pull request #10 from wgester/master

Adds authentication middleware hooks and configuration in package.json.