Pulling session data from the page template
also added userid schema stuff for next iteration