Which component is responsible for determining the device that receives the alerts for a given user account?