added search funcionality beta

needs to fix the order and paginate of searched results