updated application service to get session info