Added viewport tag for mobile
Made homepage logic