adds serializer to users index method and a test.