Applied server side validation for the User Entity by using Symfomy2's constraints