printing successful add
checking both password fields