HELP with username/password login...script please

 Hi Delphi guru's

I am new to Borland Delphi v4.0, i am using it under NT operating
system,
what i want to
do is to create a login screen for users to login to the system, how do
verify the password,
what do i need, if the password is wrong 3 times i want to put up a
message, how can i do
all this, has anyone done this etc...

                    If the password is correct, i want the user to go
into
a another menu, how can
i do this etc.....any bit of help much appreciated....thanks...indy