Logger only takes functions, not strings
Add server-side model validation
Fix a data validation bug