Simplify authentication and admin controllers
Update resource controller for improved admin
Add missing admin/styles controller
Redo admin table structures
Fix up the admin table javascript so that saving works

New rows do not save when there is a mandatory foreign key.