fix issue with cancan
add client serializer