Added restrictions to course actions. Must be signed in to view courses and only admins or professors can make changes to courses or create. Also removed the show action.
Added a check to make sure that a course cannot be deleted if it has sections.