Fixed magic session error by pasting the content of index.php to a new index.php.
Added dependency that was missing.
Merge branch 'bug_fixes' into develop