adding layout to friend detail