foundations for search filter

added some code to help filter out the applications the student has
already applied to or already has been accepted to or been rejected to
or withdrawn from