Remove unused method and refactor to stateless component
The logoutClick method was not being used so has been removed. This also removes the dependency on the global CONFIG variable.
The logoutClick method was not being used so has been removed. This also removes the dependency on the global CONFIG variable.