Added functionality for the admin API