Validate user (sign in/up) with MongoDB