fixed the destructor problem in the User class

deleted the currentUser* in the MainWindow.h file. We don’t need, it’s
more secure now