changing forms to use actions