seperated out functions, added google analytics, added incomplete and unstyled navbar