set up filtering on client side

still need server to perform filtering
fixed type issue for minAge and maxAge

ages should be in integer number of days