main page now using data from mongo