added need to pass in express reference
Updated documenation