How to get specific fields in the login form
You can create a user login template. In your theme file, put this function in and replace your_themename with the machine name of your theme.

function your_themename_theme() {
  $items = array();
  $items['user_login'] = array(
  'render element' =&gt; 'form',
  'path' =&gt; drupal_get_path('theme', 'your_themename') . '/templates',
  'template' =&gt; 'user-login',
  'preprocess functions' =&gt; array(
  'your_themename_preprocess_user_login'
  ),
 );
return $items;
}


Then, you can split the individual fields of the form up in a template file called user-login.tpl.php and rearrange them however you want.

&lt;?php
    print drupal_render($form['name']);
    print drupal_render($form['pass']);
    print drupal_render($form['form_build_id']);
    print drupal_render($form['form_id']);
    print drupal_render($form['actions']);
?&gt;


Source: High Rock Media