index should be named home
add flash messages
except integrity errors