add IndexResourceImpl and unit test
add UserDetails resource populating dummy data