Sign in and out after merge