Groups filtering server side and infinite scroll

Partially implements #444