added password confirmation
password input errors handled