Removed piwik, changed path to api for checking session