added better paging. added ids to common resources