Login form?

can someone point me in the right direction:

i need to create a form ( username and password ) that will connect to a webService and return a “true” or “false” value.

i am not sure what the terminology is but i need to find literature on this.

Thanks,
Andre