add url rewritting