Added principal to crud methods