Create credential model