add "loading" to main page when loading it