Move manage project notifications code into controller