added delete functions for admin page