Add an extra endpoint. Fix get endpoint