adding admin functionality