Created JS to add buttons for anonymous users on client side