completed admin panel and added chat functionality