Just wanted everyone know that I fixed the problem with accessing the www. version of the site and staying logged in. Now the site redirects to the non www version. I also fixed the issue of going to the courses page without typing in the index.php and it just showing up as a directory, you can now access it through /courses/ or /courses/index.php.