added friends post api and passing tests