refactor registration and edit
Merge https://github.com/morph07/qa-tracker