added codes to API responses
added cancellation functionality to frontend, some canceled order validation in the API
updating validation and such, added UI utils for ui mask