Add validate of name to Course model