Added checkSession api call type