Improvement in security: Pre-check in java script in the login for a email-formed user. Ask the old password when a user ask for changing of password