Revert "corrected in form_register to fix login error."

This reverts commit 8b7b5d04b5f991bdbdf13682ced8024827556f21.
corrected property name in form_register to fix login error.