modified controller actions to include json