add basic admin functionality (much room for improvement)