Report serverside errors in register form
Fix indentation
Fix unused import
Merge branch 'yjugl-register-errors'