Made the speaker registration too write into db