loading widget during login method