Added the course registration requirements to course detail page and the database