added server side validation and duplicated some to client side

now duplicated the validation logic of the first name and last name
and added the logic to display the server side validation of email and birthDate