node server input verification