user password and email
added password confirmation
handling input errors and duplicate errors