added loader showing up when loading