Fixes to PUT methods, Register form and data encoding.