Added getCredentials function
Merge pull request #1 from dennisahlin/patch-1

Added getCredentials function