Add validation to user and course models

Added validation to make sure that the user's email and course's title were present