methods for getting/setting secret token on message