Update routes.php

Moved getFields to helpers. Added info and better privilege checking. Changed display data to array