Login helper cleanup