Updated functions
Added table to admin page
Added table to admin page