Manage appointments

Incorrect way. `index` action should handle multiple formats like HTML, JSON etc.