Updated the session class
- Use user->getId from DatabaseObject method
- Remove storing of user type

User Interface
- Let it inherit DatabaseObject
- Remove all the unneeded methods
Added templates/ and scripts/ directories to the system/ directory
- Allows us to have system templates and scripts in the templates directory