massive bugfixes in reading credentials
recovery is done with this bash script now