Fixed production environment settings
Fixed issue that lead to duplicate users