Mall Controller
The index and show functions are modified
JSON is returned in those functions