Writing contact to db now works!!