refactor pin
Refactor Notification service to work without a logged user