Client action validation
Finished refactoring
allow multiple origin
multi origin