Fix bug on join room and insert player to DB when player joins