I solved my problems. I was issuing the wrong command to create usersand alter the user's passwords.