improved callback parsingirb
added token validation to callback parser