Server for chat application