fixed logout added submit to console