added terms and agreements + change to layout main page