implemented remote notification functionality & test