refactored group notifications controller