Change method of handing form data with mongodb data. without json