Adds a logout button, closes #48