Added 404 page, db config tweak