making layout more generic with partials and added application helper to application controller