get timeentries from db, as selected in gui