Added Database session manager