Adding a basic LogIn example

Thao, please have a look of the basic use of the tpl and please let me
know if you need any help.