database is created and socket.io is installed