Implemented post session rest call