Adding a loader to the login