Fixed bug

Fixed logout