made a basic user model
fixed email validation