Add new function on admin

Add credit in admin page for class