I'm trying to set up a system in which a user logs in to a directory using an .htaccess file. When that person is logged in, I need to make it so no one else can log in. When she logs out, then someone else could log in. I don't have a clue where to start in making something like this. Could someone point me in the right direction?