improve validation in election comiisioner registration and change reset_password action