More work on scripts and database schema
Lots of new controllers and a login page