Add code for obtaining user auth credentials