adding the ability to store credentials