adds rest endpoint for rfid