moving functions to session, attempting to pass synth obj to strategy.auth