added password/repeat password check