How can a I create a log in area for members and how do I make pages only accessible to these members and not to everyone? I'm looking to add this feature to a new static site if that makes any difference.
If you don't want to program an entire security system yourself, look into a CMS system like http://drupal.org/. It has user rights built-in so you can grant access to some people, etc.
You can code a script yourself, you can use .htaccess to protect your pages, or you can google for a "php members area script" or something similar. [edit] itcn: his site is static so there's really no reason to use drupal, alot of features he is never going to use.
Thanks for the offer Skullborg but tis something I want to learn myself. Thanks for the other comments too guys very helpful.