Thanks again for the input. I also like using sessions instead of http auth. I been working with it quite a lot lately, but I still don't know how to do one thing and will need it with something like this. It would help to keep track of each user (what he/she does), in order to make PHP throw statistics for each student I ask it to. I know the basics of relating this with a DB, but the thing is that after the user logs in, the "userid" used to open that session disappear.