Password confirmation and validation updated
Added password - handling input errors