Add user authentication for changing configuration and trash deletion