Add loader and spinner