extracted site from api to service layer.