check user relation before saving