uid construction, client side validations