Adding API info to controller