Added method to get token