User lists

the call to get_events here is generating extra SQL queries, could you move that logic to the view? Would also simplify a bit the template...