Error control for the password in paramters