added spinner while login in progress