Remove unnecessary parts in layout.erb