Add application/user identity/credential models

The models will provide support for 3rd party login and linked accounts