add last_seen_api module (last-seen functionality over an HTTP API)