finished cloudmine functionality, search function