terminate process when user does not setup api token