add memcached support for session