Complete static pages and rewrote routes