Removing input with "login_state" in case of log out