That worked. I had to use the ip address when I was running it as my test server, but once I changed the localhost from the ip address to the words everything started working just fine.
But I have one more question. For my login page I have it set to successful redirect to account.php, but it seems that when I click on "log out" (connected to server behavior) that if I were to login again it takes me to whatever the last page I was on inside my website. Do you know why this happens? Also, the pages that show when you login should be restricted only to be viewed when you are logged in, but I can put in the URL to the site and access the pages without being logged in.
Thank you for you help, I really appreciate it.