updated to express server

just updated the express server function as to not get the deprecation
error on starting the server.
Also added a console message that server is running