Auth sql script normalised