Changed Person to Message and refactored logic out of controller
Adding filter