# Best Practices

  1. We recommend that after the user completes the authentication and is migrated to the Authing database, mark the user as migrated in the original database.
  2. Do not hard-code database connection and other information. It is recommended to use Database Connection Information and [Environment Variables](../. ./advanced/env.md) manage such constant data. We will encrypt and store this kind of information in the database, but for performance reasons, we will not encrypt the source code you upload.