added setauth command to retrieve uid and authtok