I\'m trying to build a registration api end point and I\'m using Mongodb in that call to check 2 things: