changed member validations and updated error msgs