Added loading header content in registration and index page through jQuery