Moved `invoke` action to /api
Added some client-side validations to the Task creation form. Related to #54