use Activity only instead of Activity and AuthLog