fix the User.role bug in signup