Add credential model

Credential model will hanndle login stuff.