Implement register predmetov ui.
Add keys and beautify code.
Set form values based on query parameters and correct some mistakes.