added flashes to create, update, destroy, added root to routes