Added ability to search by rank, and refresh button