added validates for User model
added presence validates for name and email in User model
Listing 6.19