Fixed error when user doesn't have the role in userdata
fixed small bug
Merge pull request #3144 from lwyszomi/107776-case

UCLA-Report: Fixed error when user doesn't have the role in user_data