added first version of the working notification controller