Added search page and friend api