Each page has a coinciding action (function) associated with it in the controller page. So if you access ”/user/listing/” you need a function called

function listing(){
} 

associated with it. The function in the controller can be used to generate data for the view to display.

To make a collection of all the users in your database, write

$this->users =& $this->Users->find('all');

To display this collection in the view (/user/listing.tpl)

{loop users}
       <?php  echo  $user->get("name"); ?>
{end}