database connection and insertion complete