Is there a way to provide the login provision for anonymous user when anonymous commenting is enabled? I have enabled provision for Anonymous commenting. But it provides the only option of 


Your Name
Email Address
Homepage


What I would like is, above this, there should be a provision of Login. Hence this way user can see that, So he/she will have two options, either he/she can login OR he/she can comment anonymously.

What happen with current system is, Anonymous user keep on commenting as anonymous only, If there is a option of Login, then he may think about that. 

So, I would like to make the system in commenting like,


  Add Comment

**Login/create account**

OR

**Comment Anonymously**

Your-name*  |  Email*  |  Homepage 

Comment field



Update:

I just need a Link, like what appears above the comments title on every drupal site, as shown in following image, Log in or register to post comment

Image
Since you want to edit something in the contact form, you can use the same  hook_form_FORM_ID_alter of my previous answer to alter the comment_form.

As you can see in the comment form all author details are in an array $form['author']. So you need to add an item to this array and move it to the top.
    

function MODULENAME_form_comment_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  // Any code you already have here

  // Check if the user was not yet logged in. (It would be useless to show this otherwise.)
  if (!user_is_logged_in()) {

    $form['author']['login_url'] = array(
      '#type' =&gt; 'markup',
      '#markup' =&gt; t('&lt;a href="@login"&gt;Login&lt;/a&gt; or &lt;a href="@create"&gt;create account&lt;/a&gt;', array('@login' =&gt; url('user/login'), '@create' =&gt; url('user/register'))),
      '#weight' =&gt; -10, // Play with this value to control the height.
    );
  }
}