add cascade type to authentication and details