added requesting and accepting friendship functionality