changed get icons to server side