added scope to inbox controller