removed deprecated express syntax, removed extra logging