validation of contact serverside