implemented following and followers query