Uri Fragment problem in multi content application

Hi, i have a problem with a multi content application:
The app has 3 content:

  1. Login (Custom Layout)
  2. Registration (Cusom Layout)
  3. Support (Custom Layout)

in the Application Class i have created :


public UriFragmentUtility urifu=new UriFragmentUtility();
urifu.addListener(listenerFragment);
Login login=new Login();
mainWindow.setContent(login);
setMainWindow(mainWindow);

in the Login i have added component
urifu

When i change the uri with fragment “#registration” the App change correctly content in the Registration content but when I add urifu component in the Registration layout happens a loop and it show always Registration Component.
How do I manage more content with uri ?
Thank you!