made localhost finally working