added partials and changed layouts