password reminder functionality

Hi All, I have the requirement to provide the password reminder functionality on main login screen. I know we can customize the look and feel of login page, But have no idea how do I add a button on login page which take the username and provide the password as an email to user. Because when I see the login.html, and try to add a submit button next to login page.. I am not able to see in my login page when I run the application. Can please someone please help me how can I achieve the password reminder functionality on my custom theme login page. Regards, Rajnish
1 answers

You need to build a new form, which is accessible for anonymous user. For an example take a look at the public profile application in the appstore.