added logging when notifying user