refactoring

dryed up layout page with helper method

changed home page to only display base title