User Input Validation Added in the server-side model