Added new purge function to make mass deleting of posts quicker

Adjusted the purge to include a password