Fix activity/index cannot be viewed while not logged in.
Fixed activity not logined error.