Moved session initialisation from index.php to controllers

No session creation for client machines anymore
Merge branch 'session' into wip