Fixed logout button

All tests still pass.