user graph api implemented with redis