adding form validations, and getting ride of password confirmation