created user controller and used digest instead of string for scaffoldin...

...g to hide things and test for uniqueness, updated tests