changed main page to php rather then html