added new and create friendship functionalities