added deletion and other features to admin