Improved template_globals to support dynamic attributes.
Restored cpu temperature function that was removed erroneously.
Moved version information (again).
Managed to get a working login page:)