Added validations for member visit functionality