Fixed a loading bug and added a confirmation dialog.

Now the program loads even if it cannot make a connection to the database. Users are asked to confirm before deleting an account. You can look for students with their old ID's.