setting up validation
Completed the basic User model (including secure passwords)