Fixed some problems, can now add a simple user to mongodb