Big change to API, moving all data transforming logic to an abstraction
Fixing login values so different roles go to different index pages