If you’re not logged in it shows the login page and if you are logged in it goes to the add a comment page.
I would rather that when "Add a comment" is clicked the the login / add a comment appears directly under the link. Can this be done with CSS or does it need Javascript?