complete data input test area, write to mongoDB