Username/Password Page

Yo dudes,

OK, so i want to allow users to enter a username and password to access a personalized page that will show details of thier order etc…

How do i do that? And plz can you guide be step by step becuase i dont know what to do when someone just throws some ActionScript at me.

Thanks alot.