Making provider and credentials an attribute

Ahh...I understand now...Will delete these comments.