add nick,credential check