Added SESSION support and mobile_detect repaired.