Checking if a user is logged into Drupal (the right way)