refactor
auth command