Making some bugfixes to form validation, categories handling.. and updating the schema