loging in adn out shoudl be false/true