Added mongoose and implemented minimal user registration