password length now min 6 characters and changed the error message