Weird installation

i had a dual boot pc with windows and linux and i wanted to move linux to the ssd. so i proceded to install on the ssd using the something else and deleting the ssd anc choosing it. after i costomized it and restarted a couple of times i kept having problem with the login it kept bringing me back to the login even though the password was correct and after a couple of tries it let me login the Ui and wallpaper were back at the base ubuntu look and i couldnt open any apps or firefox so i decided to reinstall linux using the same process as before by deleting the ssd and installing ubuntu once again. now after that i logged in and noticed that that the Ui was back to the first installation. Is there something wrong with my computer or is it just an unfortunate series of events?