I add method for getting the credentials