json api pulled to a separate controller, is working