Adds login/logout button to menu.

- buttons show appropriately depending upon template