rewrite admin panel