view portfolio.php is rendered by index.php on logging in, and removed a typo from index.php