Often times people want to theme the drupal login page or the login block for the theme they are using. If you need to go beyond just changing the CSS and want to actually add markup to the login form, this will show you how.
First you are going to need to locate the template.php file in your theme folder. We need to add some code to that file. Open up the template.php file for your theme and add the following: