Fetches data from the controller