correction in coursecontroller and filter