Web interface and database handling