update controller action/view names + add API pulling code in actions