use name/email/public, save apikey to mongodb