use course slug instead of id in url