getAllRequests method implemented