Service method is added to block a course