lib/router.php:
<?php
class onrRouter extends ezcMvcRouter
{
    public function 
createRoutes()
    {
        return array(
            
// Authentication
            
new ezcMvcRailsRoute
                
'/register/submit''onrAuthController''register-sub' ),
            new 
ezcMvcRailsRoute'/register''onrAuthController''register' ),
            new 
ezcMvcRailsRoute
                
'/login-required''onrAuthController''login-required' ),
            new 
ezcMvcRailsRoute'/login''onrAuthController''login' ),
            new 
ezcMvcRailsRoute'/logout''onrAuthController''logout' ),
        );
    }
}
lib/autoload/autoload.php:
<?php
return array(
    
'onrAuthController'   => 'controllers/auth.php',
);
?>