secured  nodeservlet to GET/POST for search, GET only for anything else