putting in modulog code to handle non-drupal urls