add api portal loader