Add uri validation