admin panel

added a bunch of functions