modded api keygen and user schema to allow for mulitple keys in the future