added error to permissions page