Implemented logout
Prevent double login