added most of the validation to the usercontroller, fixed some logical bugs
Merge branch 'master' of https://github.com/joubin/CSC191