Changes for pagination and validations implemented for class setup page