updated rest.js and user test to use port 3333