made it so that if youre logged in and try to go to the login (index.html) page, you are redirected to buy.html