replace coffee with js, refactor validation, wakanda authorize