Sessions & Bug Fixes

Added session functionality.
Fixed a few code bugs.
Tidied up some code.
Fixed a CSS bug.
Added agpl-3.0 licence file.