added view and template form to search users

result of the search will be json