Added ajax calls to allow cards to be loaded async