added password repeat functionality