add pagination and order from table projects