logout fixed 100times, registration fixed