fix credentials and use tryFind instead of find to locate server