Building two-factor authentication with NestJS and Postgres