refactoring notifications profileUrl and author