browser extension posts data correctly to controller