adding insert(sql) function that send back last insert id