Can add student with courseid from URL

Added functionality to add students to a course based on the course-id
in URL