@kaiprt @mendoncakr organized logic for notification controller