Fixed missing return on onSubmit().
Added some persistence with mongoDB.