added loading template, router