getting role assigmnet working