Very basic user registration and persistence in mongo