added S3, paginate and activeadmin