trying to fix user logout / user create overwrite bugs