Remove gear icon when not logged in. Fixes #60

Also, close the drop down menu upon selecting an item. Previously, the
menu stayed open (including being open whenever the user logs back in).