added some admin functionality