added functionality for adding n removing friends