Fix routes and role addition and deletion.
Whole lot of bug fixes.