still trying to fix broken logout