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();
Login login=new Login();

in the Login i have added component

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!