Refactor UI for credentials site.
Add logout functionality to credentials website.