finalized working follow button with ajax