Added basic api key generation and store linking