adding the loading popup while login