added sessions over database!