Added code to mark notifications read