I changed my ~/.profile and added few lines to make it run when i login to my user account :
google-chrome # to start chrome
code # to start vs code
exit 0
but since then i can't login i tried to use guest session to login with ctrl+alt+f1 but whenever i type my username and password i get logged in then it asks me to log in again, if I can undo my changes to that file I think I will be able to log in back normally but every solution i found depends on the ctrl+alt+f1-f6 solution which won't work for me...