keeping chat lib common for user and admin
keeping chat lib common for user and admin