added password fields to registration