Adding getCredentials method that takes credentials as string parameters