friends app users check optimization