added user friendship functionalities