adding tests around authenticate route
authorize tests and add test script to package.json
more authorize route tests
fixed app to use new route structure