Added a uniqueness constraint onto user apiKey field.