added testing stuff

-added testing dependencies
-changed how errors were handled in usercontroller
Merge branch 'master' of https://github.com/joubin/CSC191