used application.html.erb layout for template instead of home.html.erb. stupid mistake; easy fix