using something like MySql and PHP..
Set up the Database with users etc..
for an insight on what to do etc visit..click here
This will tell you how to build the site, database and the CMS..I bought the book..
Have a play with it and manipulate the code to suit yourself..