clean up error message for unauthorised page