Fixed notifyUser method