added filtering of aid needed and connected with parse account