dist: build a notification system
fix bug in registration