added admin panel and functionality