Modified express 3.x to the version 4.x and above