Added tests for user, ensures username uniqueness
Refactored before do in controller to get rid of nil case
Merged master into login
Merge pull request #4 from Widdershin/login

Wrote some user tests