added validations to friend