Add methods for changing user roles to index and User.class controller

It was before I fixed them. I will delete them right away.