Entirely new Model class
Moved user control panel to layout.php and prepared for SSO