Add login functionality

Rough draft
Add credential model

Credential model will hanndle login stuff.