Make home controller index action respond to json. Add code with ajax request to home controller index action. Successfully retrieve data.