add sessionFactory