add ConfigurableSessionFactory