Made User Model with Validation checks