receiveApproval done the system now deletes the pending and adds the approved value, something one wrong with the if statement in the getPendingRequest method its not detecting the requests with pending on them. needs fixing