added users and password validations