added pending downloads. Added routes for downloads and pending downloads