title: Drupal "You are not authorized to access this page."
body: <p>I'm just starting out on drupal, so apologies if this is a really silly question.  I wrote the following module, but every time I try to access it, going to the url (http://localhost:8888/drupal/doodil_viral_signup) I get an access denied message.  I've tried rebuilding the permissions and disabling and re-enabling the module, but it doesn't seem to work.</p>
  
  <pre><code>&lt;?php
  // $Id$
  /**
  * @file
  * A module to encourage users to sign up.
  * This module allows users to sign up to register for the site, and invite their friends to do the same.
  */
  
  /**
  * Implements hook_help().
  */
  function doodil_viral_signup_help($path, $arg) {
    if ($path == 'admin/help#first') {
      return t('This module allows users to sign up to register for the site, and invite their friends to do the same.');
    }
  }
  
  /**
  * Implements hook_menu().
  */
  function doodil_viral_signup_menu($may_cache = true) {
    $items = array();
    if ($may_cache) {
      $items[] = array(
        'path' =&gt; 'doodil_viral_signup',
        'title' =&gt; t('Doodil Signup'),
        'callback' =&gt; 'doodil_viral_signup_page',
        'access' =&gt; TRUE,
        'type' =&gt; MENU_CALLBACK,
      );
    }
    return $items;
  }
  
  function doodil_viral_signup_page() {
    return drupal_get_form('doodil_viral_signup_page_form');
  }
  
  function doodil_viral_signup_page_form() {
    // [input text] First Name
    $form['first_name'] = array(
      '#type' =&gt; 'textfield',
      '#title' =&gt; t('First Name'),
    );
  
    // [input text] Last Name
    $form['last_name'] = array(
      '#type' =&gt; 'textfield',
      '#title' =&gt; t('Last Name'),
    );
  
    // [input text] Email Address
    $form['email_address'] = array(
      '#type' =&gt; 'textfield',
      '#title' =&gt; t('Email Address'),
    );
  
    // [input submit] Sign Me Up
    $form['submit'] = array(
      '#type' =&gt; 'submit',
      '#title' =&gt; t('Sign Me Up'),
    );
    return $form;
  }
  
  function doodil_viral_signup_page_form_submit($form_id, $form_values) {
    $message = 'You have submitted the following information &lt;pre&gt;'.print_r($form_values).'&lt;/pre&gt;';
    drupal_set_message(t($message));
  }
  </code></pre>
  
  <p>Can anyone tell me how to fix this?</p>
  
  <p>Thanks in advance!</p>