Not sure how are you using this, but as you have it, it's like you must have a messagesearchescontroller ...also, having custom actions its not the best practice, it's not prohibited but will need to be used in very specific occasions ...