fixed logout functionality -> reseting values, comments