Fix bug with update after changing network locked or public. Also ensured that search history is cleared on logout