added admin functionality. hacky but works fine