added boolean to enable/disable session_start()