created a def to fill in missing full titles and titles in the application.html.erb