added exception handler for IllegalArgumentException
implemented AcceptedDatesResource