Dashboard now uses Ajax requests to the API