put session in DB