Added loggin to the notification system