fix session caching issue

it appears when mixing sql and gorm, sometimes a new session needs to
 be created to make sure that there is no caching.  I am not entirely
 sure what is going on, but this seems to fix the issue