Moving the feeds logic from server to client side