API is working. Now for web interface