Minor fix to account registration