added validations for users and listings