The custom logout was not needed.