add validation in course and detail
add id in detail
add validation in course and detail
add id in detail