Implemented widget loading from API