create layout files and render it in index.erb,edit.erb