Custom module visible only for one user
What indrock says in the comments is right, you should be using a placeholder like %user.

But you'll also need to pass the argument through to the form callback like so:

function my_module_menu() {
  $items['user/%user/foo/bar'] = array(
    'title' =&gt; 'My Title',
    'page callback' =&gt; 'drupal_get_form',
    'page arguments' =&gt; array('my_module_nameform', 1),
    'access callback' =&gt;array('user_is_logged_in'), 
    'type' =&gt; MENU_CALLBACK,
  );
  return $items;
}


The signature for my_module_nameform() would be:

function my_module_nameform($form, &amp;$form_state, $account)


user_is_logged_in() doesn't accept any parameters so there's no need for the access arguments. Again as indrock says, clear the caches whenever you make a change to the hook implementation.