Fixed bug in addUserToRole method