added collection code to admin page