Small refactoring in riders controller
Removed the json api for categories and show classes