implanted dbsession into request handler