Removed the issue of Response Committed. Handled the userId/ Subscriber
Id in code to not throw any exceptions. 
Added Try Catch in samples to handle the Exceptions Gracefully.