added validations to user model
Make a basic User model (including secure passwords)