added password and other validations