remove admin function from production site