continuing to fix problem with logging out