Insert middle name and surname into db seperately