DDF-533 added null checking to deletePersistentNotification function,
added javadoc comment to getUserId function