Improved getuserfield function
Update