finalized the contact and main page layouts