Well first you will need to decide on what server-side language you would like to use such as PHP, ASP, PHP, JSP, PHP, Perl, PHP, etc.
And no, there is not bias towards PHP here. :D
Once you have a language in mind you will also need to design a database to handle things such as storing the users information, logins, etc.