export type Credential = { email: string; password?: string; token?: string; };