Removed unneeded references to entity manager in logout request.