added password repeat check