Login/logout

Fixed.