preparation for form auto-fill
fixed scope bug stopping simultaneous requests
split form and list view functions
Model now works (better) with controllers
more model/controller progress

- extracted code from ticket_controller for universal use in
baseController
- better/neater working model/controller interaction.
minor housekeeping
cleanup and better use of the framework for Login
Now hides login form when logged in