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

Do not  answer in sentences. I assume you wanted to add some debug info.