Add async session middleware