Upgraded Slim to 2.4.2
Removed iPhone/iPad checking because it was deleting the PHP session ID