made scope to return custom HTTP Status code