basic chat server in need of templates