fix user sessions