added code to test viewing users