Submit page and put back some database code