Login logout issue fixed