Cookies functional and tested, Router rewrite