get contest list from db in contest page