fix repo and role controller for cancan :create, fix view tests