Validation for server side db