Fully functioning main page now