normalize password and number input