added validations in course and user models

- Added validation for User model to check presence of email.
- Added validation for Course model to check presence of course title.