checking if user/pwd still needed
testing pub/private key for authentication
testing usern/pwd