Add loader to login process