replace wrong logout button with link.
Fixes log out link.
Fixes error on production db connection.
Fixes merge conflicts.