Added dynamic page titles
Added validation to line model