working on solving logout issue on production