Working app that submits user and password to MongoDB