         switchMap(             (user: User) => {                 return from(bcrypt.compare(password, user.password)).pipe(                     map(                         (valid: boolean) => {                             if (!valid) {                                 throw new Error("Invalid password");                             }                              return {                                 token: jwt.sign(