Notification component issues & EntityManager

Modified notification interface and fixed some model issues
Bugfix on EntityListener, unauthenticated applications fail to save to database