adding validation for the users model. this is pretty much done got to d...

...o the tests