fixed logout resetting login form