Fix REST interface and notification service impl.
Fix the sample app for the improved impl. of session tracker