Add a new GET session api to get session status