now getting the module session directly from the programme settings table for pg

the bug was that pg module session was not set in the api because it was overridable, and didn't show up. The default ug session (2013) set in a config file was then being used.