But why do you want to retro pedaling ? Those buttons are not visible for visitors. Reverting this just to redirect them to the login page and hoping they come back after registering is fussy !
I would suggest you to write a short message like:
<?php if ( !is_user_logged_in() ) : ?>
<div>If you were logged in you could…[Read more]
@aldereteka Not recently active