added commands to authenticate