Added delete functionality for archive and fixed user settings