I want to setup a website with user accounts. Each user will have their own webpage. There are a lot of sites that do this so I was wondering if there is any off the shelf software (free or pay) that already has most of the groundwork done for this?

I've already made basic accounts in the past using WAMP and some perl scripts however I want something more tested and complete. I am pretty technical however I'd rather spend time working on my idea rather than building stuff that has been built 1000s of times before. Also I'm new to web-development, I'm a C++ programmer by trade.

Is there anything out there or any combinations of software that people can recommend me? What is best practice?