migrated to index render on server side
better enum handling
fixing tests