upated base controller and worked on basic uuser index for testing