Making sure that form parameters are right, and also writing to the database works well