loading on the login screen and before app