adding session in DB