Added validations in the user model
Make a basic User model (including secure passwords)