Added authentication check for notification server