updated filters with parseEntry and deleted duplicate functions in controllers.js