Adding api call to retrieve folders