logout issue fixed