created a new layout application.html.erb, removed redundant code from the pages