modified api for follow with backend.