Tightened up authentication. updated ntentan and added a nicer error message.