body-parser middleware usage corrected