added session variable, in settings.php set ini_set('session.cookie_lifetime', 0);