adding pretty url rewriting