fix the calling of logged_in() in the PayPal module