load resources into session object
clean up some fixed todos