using express-resource server side