initial model pseudocode and sessionFromAccessToken POC