Synagogues as community centers