ajax working and rendering on homepage for follow button