Separate changing Users' roles and password into two functions.