fixed URL problem it was pushstate, added missing template