add author to notification and clean code