added communication methods for the api (auth & verify if limits are reached)