Main page now working