init Session stuff in proper places