Added more features to chatServer