finishing admin functionality