logout issue resolved