API for activity feed working with ajax