Working updated implementation
Implemented server side vocabulary validation