Changed header functions if not logged in.

Also fixed Welcome.php to not display redundant links