checked validations for email and course name