You should use the SecurityAssist product from webassist. It will create the login page with the auto login feature as well as create a forgot password functionality and the registration page and update profile page all from within one wizard.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.