adding the db session to the technique routes