(bug) fix pendingController so it works with the server
Merge pull request #86 from Neco-Murphy/bug/fixPending

(bug) fix pendingController so it works with the server
(feat) change routes names to work with the server
(feat) add comments
Merge pull request #87 from Neco-Murphy/feat/routesForServer

(feat) change routes names to work with the server