Get pre_get to work and make session logs when adapter changes