Getting token from service.