make edit and create a partial
validation of data and noice
add error message
do some flash