connected to mongolab

implemented the function in which users can register an account. But
there's a bug that no feedback after registering successfully.