Fix dropdown.js for anonymous user and remove login link