Add search route

Add extra route for searching messages.