Modify controller to fetch phone data by XHR