adding chat and server simple database