tidy up some links for login and logout