Add session code to present pages