Removed old DB session code