Removed unused imports and fixed user deletion

Users are now only deleted if they click "quit" on the application
screen.