adding admin functionality (in progress)