Add search function

and loading view