required added, pagination fix and new layout