Implemented login, started logout