Validations implemented on client side