cleaner database with correct flags, notification authentication