added User model
validation tests