rewriting /admin to /admin/