Index modified to get all user's events