moved all ajax requests to controller. Still need to stop page refreshing + change DOM directly