Login, logout system fixed.