fix for login session