Revert "remove miniprofile before filter"

This reverts commit 5db26445cfb8107e6890e74b2574d8a1ce865e49.
Revert "add mini prfiler gem and change enviroment to production"

This reverts commit 7ff5fced31ce2611b81832a86cfc7b2799fbb298.