Added functionality for deleting users