Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/Kingboard/Kingboard/inspections/bf27affa-67bc-447e-8153-27e9e3152437

Enabled analysis tools:
 - PHP Analyzer
 - PHP Mess Detector
 - PHP Code Sniffer
 - PHP CS Fixer
 - Security Advisory Checker
 - PHP Copy/Paste Detector
 - PHP Lines Of Code
 - PHP PDepend
Merge pull request #32 from ppetermann/scrutinizer-patch-1

Scrutinizer Auto-Fixes
only start a session when user is actually logged in