changed the get friends endpoint to follow the changed spec