I was following the tutorial here http://www.wikihow.com/Make-a-Raspberry-Pi-Web-Server and everything was going fine until I got to "The finishing touches" part of the tutorial. I was able to login as root after setting a password for root then I edited the password configuration file as it stated. I then got to the step that says "add the user pi as a mod" it would not let me because it said the user pi did not exist but it does. I then did the last step but did not logout as root before doing it like it says to do I got ahead of my self and misread it but I was not given an error so I logged out and cannot log back in as either root or pi from SSH or from the console itself. Can someone tell me how to fix this? What did I do wrong to screw it up?
I don't really understand what went wrong from your description.
Best option: If you cannot log in your only option would be to restart and pay more attention to the install process.
Not a great option: You could try mounting the SD card with the raspbian file system on it and navigate and edit the password config file yourself. I'm not sure if it would work, or if its encrypted but it would be worth a try.