fixed 'userid' retrieval for User objects, which was being requested as 'name' for some reason