Adding submission links and pagination elements