Fixed server errors due to Express 4 update