role rest is working