University project: an chat application with distributed username database