Moved widget data retrieval to web api controllers