[user role] bugfix and improvement