refactored receivers, session and notifiction flow