removed unused variables from DbSession class