added methods in friends api