implemented ui users states routes