Fixed the bug where the api key would fill the email field in the dashboard