implemented profile search