moved link stylesheet and javascript to main.php and removed head and body from index.php