Don't run script for push notifications if not logged in