Added initial code to initiate application session