Fix conditions of buildinging UI adding user to role

ARMSTWO-117 #Done