Set up login and logout links.